<div class="modal-header"> 
  <h3 class="modal-title">Add to Library</h3> 
</div> 
<div class="modal-body">
  <div class="progress" data-ng-show="isResourceLoading">
    <div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
    </div>
  </div>          
  <div data-ng-if="!isResourceLoading">
    <span data-ng-repeat="i in rawResources"><button type="button" class="btn btn-default" data-ng-click="addResource(i)">{{ i.name }}</button> </span>
  </div>
</div> 
